var a = getApp(), t = require("../../utils/api.js");

Page({
    data: {
        cashInfo: "",
        showLoding: !0
    },
    onLoad: function(o) {
        var e = this;
        e.setData({
            showLoding: !e.data.showLoding
        });
        var n = getCurrentPages(), s = (n[n.length - 1], n[n.length - 2].data);
        console.log(s), e.setData({
            get_cash_limit_money: s.info.get_cash_limit_money
        }), t.TeamWallet({
            openid: a.globalData.openid
        }).then(function(a) {
            console.log(a), e.setData({
                cashInfo: a.data,
                showLoding: !e.data.showLoding
            });
        });
    }
});